﻿$('.childSearch').keyup(function () {
    alert("Test");
    var value = $(this).val();
    var exp = new RegExp('^' + value, 'i');

    $('.childList .child').each(function () {
        var isMatch = exp.test($('.name', this).text());
        $(this).toggle(isMatch);
    });
});